﻿<UserControl
    x:Class="ExampleApp.Views.MessengerLeftSideView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ExampleApp.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:View="using:StyleMVVM.View"
    View:ViewModel.Name="MessengerLeftSideViewModel"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400">
    <Grid>
        <TextBox HorizontalAlignment="Left" Margin="21,51,0,0" TextWrapping="Wrap" Text="{Binding TextMessage, Mode=TwoWay}" VerticalAlignment="Top" Width="214"/>
        <Button Content="Send" View:EventHandlers.Attach="Click => SendMessage()"
                HorizontalAlignment="Left" Margin="257,49,0,0" VerticalAlignment="Top"/>
        <TextBlock HorizontalAlignment="Left" Margin="21,29,0,0" TextWrapping="Wrap" Text="Message to send." VerticalAlignment="Top" FontSize="14"/>

    </Grid>
</UserControl>
